<template>
  <el-row id="main">
  </el-row>
</template>
<script>
  const pagination = () =>
    import ("@/components/pagination/pagetemplate")
  import tsearchtag from "@/components/search/template_tag_search"
  import tproper from "@/components/search/template_proper_search"
  export default {
    inject:["changeActive"],
    components: {
      "v-page": pagination,
      "vproper": tproper,
      "vsearchtag":tsearchtag
    },
    data() {
      return {
        data: "",
        slide_h:window.document.body.offsetHeight -200,
        loadingTxt: "",
        popshow:false,
        pageinfo: this.$store.getters.getPageInfo(this.$route.path,null),
      }
    },
    methods:{
      init() {
      },
      changepaginfo() {
        this.$store.commit("savePageInfo",this.pageinfo);
        this.init();
      },
      changedialogshow() {
        this.dialogshow = 0;
      },
      toSearchFilter(){
        //需要初始化一下选中状态
        this.currentData = "";
        this.radio = "";
        this.pageinfo.params.page=1;
        this.init();
      },
      openInfo(x){
        this.currentData=x;
        this.popshow=true;
      }
    },
    beforeCreate: function() {
    },
    created: function() {
    },
    beforeMount: function() {
    },
    mounted: function() {
      this.$nextTick(()=>{
        this.init();
      })
    },
    beforeUpdate: function() {
    },
    updated: function() {
    },
    activated: function() {
    },
    deactivated: function() {
    },
    beforeDestroy: function() {
    },
    destroyed: function() {
      console.log("destroyed!!!")
    },
    errorCaptured: function(err, vm, info) {
    }
  }
</script>
<style scoped>
  #main>>>.el-collapse-item__header{
    background-color:rgba(255,255,255,.5);
    border-bottom:1px solid rgba(255,255,255,.5);
  }

  #main>>>.el-collapse-item__wrap{
    border-bottom:1px solid rgba(255,255,255,.5);
    background-color:rgba(255,255,255,.5);
  }
  .el-collapse{
    border-top: 1px solid  rgba(255,255,255,.5);
    border-bottom: 1px solid  rgba(255,255,255,.5);
  }
</style>
